package org.skydiveapplibrary.ui;

import java.util.List;

import android.content.Context;

import org.skydiveapplibrary.data.Rig;

public class GearListSelectAdapter extends BaseCheckedListAdapter<Rig>
{
	public GearListSelectAdapter(
			Context context,
			List<Rig> rigs)
	{
		super(context, rigs);
	}

	@Override
	public long getItemId(int index)
	{
		return getItems().get(index).getId();
	}

	@Override
	protected String getText(Rig rig)
	{
		return rig.getName();
	}
}
